package com.xt.purchasingsystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 菜单信息
 * </p>
 *
 * @author yhp
 * @since 2020-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_menus")
@ApiModel(value = "SysMenus对象", description = "菜单信息")
public class SysMenus implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty(value = "序号")
    private String id;

    @ApiModelProperty(value = "父级序号")
    private Long parentId;

    @ApiModelProperty(value = "排序")
    private Integer seq;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "提示信息")
    private String tip;

    @ApiModelProperty(value = "菜单说明")
    private String descn;

    @ApiModelProperty(value = "图片地址")
    private String imageUrl;

    @ApiModelProperty(value = "链接地址")
    private String linkUrl;

    @ApiModelProperty(value = "目标窗口")
    private String target;

    @ApiModelProperty(value = "是否可用")
    private Integer status;


}
